﻿using LiteBlog.Common.Entities;
using LiteBlog.Components.Contracts;
using LiteBlog.Controllers.Contracts;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LiteBlog.Controllers.Tests
{
    [TestClass]
    public class PostControllerTests : CompControllerTests<PostInfo, string, IBlogComp, IPostController>
    {
        [TestMethod]
        [ExpectedException(typeof(NotImplementedException))]
        public override void CreateWorks()
        {
            _controller.Create(It.IsAny<PostInfo>());
        }

        [TestMethod]
        [ExpectedException(typeof(NotImplementedException))]
        public override void UpdateWorks()
        {
            _controller.Update(It.IsAny<string>(), It.IsAny<PostInfo>());
        }
    }
}
